package com.mazong.serveresaa.service;

import com.mazong.serveresaa.pojo.TbArticle;
import org.springframework.data.domain.Page;

import java.util.Iterator;
import java.util.List;

public interface IElasticService {

    void createIndex();

    void deleteIndex(String index);

    void save(TbArticle docBean);

    void saveAll(List<TbArticle> list);

    Iterator<TbArticle> findAll();
}
